<?php
defined('IN_PHPCMS') or exit('No permission resources.');
$sql = <<<EOF
DROP TABLE IF EXISTS `phpcms_weibo_auth_info`;
CREATE TABLE `phpcms_weibo_auth_info` (
  `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `uid` bigint(20) unsigned NOT NULL,
  `token` char(32) NOT NULL,
  `tsecret` char(32) NOT NULL,
  `source` char(32) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `sina_uid` (`uid`)
) ENGINE=MyISAM;
EOF;
$info = $this->_sql_execute($sql);	
$op_status = TRUE;
?>